package com.yhy.dubbo.api.mongo;

import com.yhy.domain.mongo.FollowUser;
import com.yhy.domain.mongo.Video;
import com.yhy.domain.vo.PageResult;

public interface VideoApi {

    void save(Video video);

    PageResult queryVideoList(Integer page, Integer pagesize);

    void saveFollowUser(FollowUser followUser);

    void deleteFollowUser(FollowUser followUser);

    PageResult findAll(Integer page, Integer pagesize, Long uid);

    Video findById(String publishId);

    Video findByVid(Long vid);
}